<div class="<?php echo $include_file;?>">
	<p>
		<form action="index.php?c=borrow&a=select" method="post">
		请输入读者条形码:<input type="number" value="" name="barcode"/><input type="submit" value="查询/借阅/归还" />
		
		</form>
	</p>
	
	<br />
	<table border="1" width="800">
		<tr>
			<th>读者条形码</th>
			<th>姓名</th>
			<th>书名</th>
			<th>借阅时间</th>
			<th>归还时间</th>
			<th>是否归还</th>
			<th>操作员</th>
		</tr>
		<?php foreach($allborrows as $borrow):?>
		<tr>
			<td><?php echo $borrow['barcode']?></td>
			<td><?php echo $borrow['name']?></td>
			<td><?php echo $borrow['bookname']?></td>
			<td><?php echo $borrow['borrowTime']?></td>
			<td><?php echo $borrow['backTime']?></td>
			<td><?php echo $borrow['ifback']==1?"已归还":"未归还"?></td>
			<td><?php echo $borrow['operator']?></td>
		</tr>
		<?php endforeach;?>
	</table>
	<p><?php echo $pageinfo;?></p>
</div>